package com.scaffold.service.impl;


import com.scaffold.param.HelloParam;
import com.scaffold.service.HelloFeignClient;
import org.springframework.stereotype.Component;

import javax.validation.Valid;

/**
 * @author PC
 * @version 1.0
 * @description: TODO
 * @date 2024/9/2 16:32
 */
@Component
public class HelloFeignClientHystrix implements HelloFeignClient {
    @Override
    public String sayHi() {
        return "调用失败";
    }

    @Override
    public String sayHello(@Valid HelloParam hello) {
        return "实体类传参失败";
    }

    @Override
    public String sayHelloTwo(int id, String message) {
        return "调用失败";
    }

}
